import {
  wxRequest
} from '@/utils/wxRequest';

let env = '-test' // -dev 或者 -test
// app/grass/ app/topic/  app/live/ app/discovery/  app/pointaward/营销组这些接口前缀要用apiMallOne  电商组其它前缀还是用apiMall
const apiMall = 'https://app.xpandago.net/'  // 正式
// const apiMall = 'https://appdev.xpandago.net/'// 测试
// const apiMall = 'http://192.168.2.169:9600/'
// const apiMall = 'http://192.168.2.165:9600/'  // 家万
// const apiMall = 'http://192.168.2.113:9600/' // 常
// const apiMall = 'http://192.168.1.60:9600/' // 张一飞
// const apiMall = 'http://192.168.2.116:9600/'
// const apiMall = 'http://192.168.2.142:9600/' // 陈逸航
// const apiMall = 'http://192.168.2.174:9600/'
// const apiMall = 'http://192.168.2.146:9600/'  // 翟倩倩
// const apiMall = 'http://192.168.2.157:9600/' // 王志超
// const apiMall = 'http://192.168.2.124:9600/' // 吴珂
// const apiMallOne = 'https://marketingapptest.xpandago.net/' // 营销组测试
const apiMallOne = 'https://marketingapp.xpandago.net/' // 营销组正式
// const apiMallOne = 'http://192.168.2.169:9600/'
const apiSj = 'https://datacenter.xpandago.net/'// 数据http://datacenter.xpandago.net/doc.html
// const apiZB = 'https://front.xpandago.net/'// 直播
 // const apiZB = 'http://192.168.2.131:9601/'//直播
const h5apiMall = 'https://h5.xpandago.net/'// h5地址
const httpImg = 'https://static.xpandago.net/'// 图片地址
const httpImgTile = 'https://static.xpandago.net'// 图片标签地址
const H5url = 'https://h5.xpandago.net/app/index.html'// 跳转正式地址
// const H5url = 'https://h5.xpandago.net/ceshiapp/index.html'// 跳转测试地址

/**
 * dataPoint埋点接口
 * 测试地址'https://datapointdev.xpandago.net/app/datapoint/wechat'
 * 正式地址'https://datapoint.xpandago.net/app/datapoint/wechat'
 */
const dataPoint = 'https://datapoint.xpandago.net/app/datapoint/wechat' // 正式地址
// const dataPoint = 'https://datapointdev.xpandago.net/app/datapoint/wechat' // 测试地址

// 登录接口
// const wxJsCode = (params) => wxRequest(params, apiMall + 'app/member/login/wxLogin/xcxloginNew');
// const wxJsCode = (params) => wxRequest(params, apiMall + 'app/member/login/wxLogin/xcxLoginNews');
const wxJsCode = (params) => wxRequest(params, apiMall + 'app/member/login/wxLogin/xcxLogin');
// const wxJsCode = (params) => wxRequest(params, apiMall + '/app/member/member/member/loginForXcx');
// 初始化code获取微信信息
const getWeChatMessage = (params) => wxRequest(params, apiMall + 'app/member/login/wxLogin/getWeChatMessage');
// 小程序授权更新用户信息
const updateUserMessageByWeChat = (params) => wxRequest(params, apiMall + 'app/member/login/wxLogin/updateUserMessageByWeChat');
// 手机号登录
const mobileLogin = (params) => wxRequest(params, apiMall + 'app/member/login/register/login')
// 轮播图首页所有接口
// const indexPicList = (params) => wxRequest(params, apiMall + 'app/frontal/index/homepage/newHome');
const indexPicList = (params) => wxRequest(params, apiMall + 'app/frontal/index/homepage/appHome');
// App首页限时抢购列表
const homeList = (params) => wxRequest(params, apiMall + 'app/activity/goods/homeList')
// 轮播图通用接口
// const picShowList = (params) => wxRequest(params, apiMall + '/app/picShow/list');
// const picShowList = (params) => wxRequest(params, apiMall + 'app/frontal/advertising/pictureshow/list');
const picShowList = (params) => wxRequest(params, apiMall + 'app/frontal/index/homepage/commonPic');
// 品牌接口
const brandList = (params) => wxRequest(params, apiMall + 'app/goods/brand/brand/list');
// 品牌详情
const brandList_page = (params) => wxRequest(params, apiMall + 'app/brand/');
// 品牌个人中心列表
const grass_own = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/grass/own');
// 品牌个人中心个人信息
const grass_message = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/concern/message');
// 品牌详情新品价格排序
const brandList_goodlist = (params) => wxRequest(params, apiMall + 'app/goods/brand/brand/goodlist');
// 热门搜索
// const goods_words = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/words');
const goods_words = (params) => wxRequest(params, apiMall + 'app/goods/searchRank/list');
// 1最新商品 2爆款优惠 3猜你喜欢 4人气推荐 5畅销榜单 6活动商品 接口
const goodsDetail_list = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/list');

// 商品详情接口
// const commodity_page = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/product');
// const commodity_page = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/info');
const commodity_page = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/pushDetial');
// 商品详情接口
const commodity_again = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/again');
// 商品详情图片接口
// const contentjson = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/contentjson');
const contentjson = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/webInfoJson');
// 优惠券列表
const canTicketList = (params) => wxRequest(params, apiMall + 'app/member/ticket/ticket/canTicketList');
// 领取优惠券
const canTicketDrawt = (params) => wxRequest(params, apiMall + 'app/ticket/extra/draw');
// const canTicketDrawt = (params) => wxRequest(params, apiMall + 'app/member/ticket/ticket/draw');
// 可使用优惠券列表
// const useableList = (params) => wxRequest(params, apiMall + 'app/member/ticket/ticket/newUseableListByOrderId');
const useableList = (params) => wxRequest(params, apiMall + 'app/order/order/order/useableTickList');
// 可使用优惠券选择
const selectedClick = (params) => wxRequest(params, apiMall + 'app/order/order/order/selectedTicket');
// 生成订单
// const create_order = (params) => wxRequest(params, apiMall + 'app/order/order/order/addOrderToRedis');
const create_order = (params) => wxRequest(params, apiMall + 'app/order/order/order/addOrderToRedisNew');
// 加入购物车
const create_save = (params) => wxRequest(params, apiMall + 'app/buyCar/saveNew');
// 购物车确认订单
// const create_addOrderToRedis = (params) => wxRequest(params, apiMall + 'app/order/order/order/addOrderToRedis');
// 商品详情推荐接口
const commodity_list = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/guessYourLike');
// 确认订单
// const confirm_order = (params) => wxRequest(params, apiMall + 'app/order/order/order/getOrderMsg');
// 确认订单新接口
const getOrderNewMsg = (params) => wxRequest(params, apiMall + 'app/order/order/order/getOrderNewMsg');
// 提交订单
const submit_order = (params) => wxRequest(params, apiMall + 'app/order/order/order/addOrderToDb');
// 地址列表
// const address_list = (params) => wxRequest(params, apiMall + 'app/member/address/address/listNew');
const address_list = (params) => wxRequest(params, apiMall + 'app/member/address/address/newList');
// 地址编辑
const getNotice = (params) => wxRequest(params, apiMall + 'app/member/address/address/getNotice');
// 添加 编辑 地址
const address_save = (params) => wxRequest(params, apiMall + 'app/member/address/address/newSaveAndUpdate');
// 保存报关信息
const saveCustomData = (params) => wxRequest(params, apiMall + 'app/order/order/order/saveCustomData');
// const address_save = (params) => wxRequest(params, apiMall + 'app/member/address/address/appSaveAndUpdate');
// 删除地址
const address_delete = (params) => wxRequest(params, apiMall + 'app/member/address/address/delete');
// 修改收货地址状态
const address_state = (params) => wxRequest(params, apiMall + 'app/member/address/address/updateStatus');
// 修改商品详情页地址
const updateGoodsDetailAddress = (params) => wxRequest(params, apiMall + 'app/member/address/address/updateGoodsDetailAddress');
// 支付人添加
const payer_add = (params) => wxRequest(params, apiMall + 'app/member/order/Card/appSaveAndUpdate');
// 支付人删除
const payer_delete = (params) => wxRequest(params, apiMall + 'app/member/order/Card/delete');
// 支付人列表
const payer_list = (params) => wxRequest(params, apiMall + 'app/member/order/Card/list');

// 购物车列表
const buycar_list = (params) => wxRequest(params, apiMall + 'app/buyCar/listNew');
// 小仓库列表
const buycar_list_xck = (params) => wxRequest(params, apiMall + 'app/buyCar/list');
// 购物车更新数量/选中商品
const buycar_checkOrUpNum = (params) => wxRequest(params, apiMall + 'app/buyCar/checkOrUpNum');
// 购物车q全选
const buycar_checkAll = (params) => wxRequest(params, apiMall + 'app/buyCar/checkAll');
// 购物车删除商品
const buycar_delete = (params) => wxRequest(params, apiMall + 'app/buyCar/delete');
// 地区接口
const address_region = (params) => wxRequest(params, apiMall + 'app/member/address/areas/list');
// 个人中心列表
const person_index = (params) => wxRequest(params, apiMall + 'app/member/center/home');
// 生成微信支付单接口
// const wxSmall = (params) => wxRequest(params,apiMall + 'app/payment/pay/wxSmall');
// 获取个人信息
const person_data = (params) => wxRequest(params, apiMall + 'app/member/user/user/list');
// 修改手机号
const mobile_change = (params) => wxRequest(params, apiMall + 'app/member/user/user/updateMobile')
// 发送验证码  ;
const send_sms = (params) => wxRequest(params, apiMall + 'app/member/login/register/sendSms')
// 修改密码
const change_pwd = (params) => wxRequest(params, apiMall + 'app/member/user/user/updatePwd')
// 修改个人信息
const change_information = (params) => wxRequest(params, apiMall + 'app/member/user/user/updateInformation')

// 小程序分享接口
const share_save = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/share/save')
// 添加收藏
const aufavorite_save = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/favorite/save')
// 取消收藏
const aufavorite_delete = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/favorite/delete')
// 得到银行卡列表
// const card_list = (params) => wxRequest(params,apiMall+ 'app/finance/money/bankcard/appList')
const card_list = (params) => wxRequest(params, apiMall + 'app/finance/money/bankcard/appBankList')
// 添加银行卡
const add_bankcard = (params) => wxRequest(params, apiMall + 'app/finance/money/bankcard/save')
// 提现申请
// const withdraw_save = (params) => wxRequest(params,apiMall+ 'app/finance/money/withdraw/appSaveNew')
const withdraw_save = (params) => wxRequest(params, apiMall + 'app/finance/money/withdraw/applicationForWithdrawal')
// 提现明细
const withdraw_list = (params) => wxRequest(params, apiMall + 'app/finance/money/withdraw/appList')
// 积分详情
const point_list = (params) => wxRequest(params, apiMall + 'app/member/point/point/list')
// 我的团队 我的粉丝
const myTeam = (params) => wxRequest(params, apiMall + 'app/frontal/personal/personal/myTeam')
// 收藏夹列表
const favorite_list = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/favorite/list')
// 足迹列表
const viewLogDistinct = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/viewLogDistinct')
// 购买过
const broughtBeforeGoodsInfo = (params) => wxRequest(params, apiMall + 'app/order/order/order/broughtBeforeGoodsInfo')
// 发布素材列表
const material_list = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/material/list')
// 发布素材列表删除
const material_list_deletes = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/material/deletes')
// 添加笔记
const preserve = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/material/preserve')
// 充值等级列表
const money_list = (params) => wxRequest(params, apiMall + 'app/member/vipClassPrice/vipClass/list')
// 充值
const setMoney = (params) => wxRequest(params, apiMall + 'app/finance/recharge/record/createRecordNo')
// 关联优享码
const updateCode = (params) => wxRequest(params, apiMall + 'app/member/user/user/updateCode')

// 用户优惠券列表
const userCouponList = (params) => wxRequest(params, apiMall + 'app/ticket/extra/list')
// const userCouponList = (params) => wxRequest(params,apiMall +'app/member/ticket/ticket/extraList')
// 优惠券列表查看赠品
const couponSearchTicketGift = (params) => wxRequest(params, apiMall + 'app/ticket/ticket/searchTicketGift')
// 根据促销赠品或优惠券赠品SKU信息
const couponGetPromotionGiveList = (params) => wxRequest(params, apiMall + 'app/activity/promotion/give/getPromotionGiveList')

// 我的订单
// const order_list = (params) => wxRequest(params,apiMall +'app/order/order/order/list')
const order_list = (params) => wxRequest(params, apiMall + 'app/order/order/order/listNew')
// 订单详情
const order_details = (params) => wxRequest(params, apiMall + 'app/order/order/order/details')
// 删除订单
const order_delete = (params) => wxRequest(params, apiMall + 'app/order/order/order/delete')
// // 提现列表
// const finance_list = (params) => wxRequest(params,apiMall +'app/member/user/userdetail/list')
// 提现列表
const finance_list = (params) => wxRequest(params, apiMall + 'app/finance/money/withdraw/list')

// 申请退货/退款
// const applyForReturn = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentDoc/applyForReturn')
// 提交申请退货/退款
// const saveReturn = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentDoc/saveReturn')

// // 物流详情
// const delivery_message = (params) => wxRequest(params,apiMall +'app/order/logistics/deliverydoc/message')

// 上传身份证
const uploadIDCard = (params) => wxRequest(params, apiMall + 'app/member/address/address/uploadIDCard')
// 充值生成订单
const vipClassId = (params) => wxRequest(params, apiMall + 'app/finance/recharge/record/createRecordNo')
// 充值接口
// const recordSmall = (params) => wxRequest(params,apiMall +'m_user/wx/recordSmall')

// 优享码
const invite_pic = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/share/invite')
// 分享优享码
const friend = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/share/friend')
// 余额支付
const balancePay = (params) => wxRequest(params, apiMall + 'app/balancePay/balancePay')
// 自动关联上线的接口,通过分享过来的用户ID
const updateCodeForUserId = (params) => wxRequest(params, apiMall + 'app/member/user/user/updateCodeForUserId')
// 绑定手机号
const bindingMobile = (params) => wxRequest(params, apiMall + 'app/member/user/user/bindingMobile')
// 商品置换
// const getgoodsreplacs = (params) => wxRequest(params,apiMall +'app/goods/goodsDetail/goodsreplac/getgoodsreplacs')
const getgoodsreplacs = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goodsreplac/getgoodsreplacsfigurenew')
// 商品置换选择
const getgoodsreplacsfigure = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goodsreplac/getgoodsreplacsfigure')
// 消息中心列表
const messageCenterList = (params) => wxRequest(params, apiMall + 'app/frontal/notice/messageCenter/list')
// 消息中心列表详情
const messageListbyuser = (params) => wxRequest(params, apiMall + 'app/frontal/notice/message/listbyuser')
// 生成置换单
const creatGoodsReplaceOrder = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goodsreplac/creatGoodsReplaceOrdernew')
// 账户金额支付
const balanceRecharge = (params) => wxRequest(params, apiMall + 'app/balancePay/balanceRecharge')
// 预充值
const createRechargeRecordNo = (params) => wxRequest(params, apiMall + 'app/finance/recharge/record/createRechargeRecordNo')
// 授权证书
const authorization = (params) => wxRequest(params, apiMall + 'app/member/user/user/authorization')
// 小程序码
const invite = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/share/invite')
// 账单
const recordList = (params) => wxRequest(params, apiMall + 'app/finance/recharge/record/list')
// 银行卡删除
const bankcardDelete = (params) => wxRequest(params, apiMall + 'app/finance/money/bankcard/appDelete')
// 消息已读接口
const changeRead = (params) => wxRequest(params, apiMall + 'app/frontal/notice/message/changeRead')
// 上传二维码
const uploadWeChatCode = (params) => wxRequest(params, apiMall + 'app/member/member/member/uploadWeChatCode')
// c查看二维码
const getWeChatCode = (params) => wxRequest(params, apiMall + 'app/member/member/member/getWeChatCode')
// c绑定上级
const updateCodeNew = (params) => wxRequest(params, apiMall + 'app/member/user/user/updateCodeNew')
// 支付方式
const payList = (params) => wxRequest(params, apiMall + 'app/payments/payList')
// 补差支付
const payNew = (params) => wxRequest(params, apiMall + 'app/payments/payNew')
// 新支付方式列表
const payListNew = (params) => wxRequest(params, apiMall + 'app/payments/payListNew')
// 购物车移入收藏夹
const move = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/favorite/move')
// 购物车又滑删除
const deleteOne = (params) => wxRequest(params, apiMall + 'app/buyCar/deleteOne')
// 品牌分类首页
const categoryIndex = (params) => wxRequest(params, apiMall + 'app/goods/category/index')
// 品牌二级分类列表
const categoryList = (params) => wxRequest(params, apiMall + 'app/goods/category/list')
// 分类列表
const goodsCate = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/cate')
// 到货通知
const arrivalNotice = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/arrivalNotice')

// 聚划算列表
const juHuaSuantimeList = (params) => wxRequest(params, apiMall + 'app/goods/JuHuaSuan/list')
// 我的拼团
const groupuserList = (params) => wxRequest(params, apiMall + 'app/activity/group/groupuser/list')
// 拼团列表广告图
const adForlist = (params) => wxRequest(params, apiMall + 'app/activity/group/groupgoods/adForlist')
// 拼团列表
const groupgoodsList = (params) => wxRequest(params, apiMall + 'app/activity/group/groupgoods/newlist')
// 商品详情拼团
const groupuserGroups = (params) => wxRequest(params, apiMall + 'app/activity/group/groupuser/groups')
// 我的拼团详情
const groupuserInfo = (params) => wxRequest(params, apiMall + 'app/activity/group/groupuser/info')
// 领劵中心
// const ticketList = (params) => wxRequest(params,apiMall +'app/member/ticket/ticket/list')
const ticketList = (params) => wxRequest(params, apiMall + 'app/ticket/ticket/list')
// // 领劵中心头部图片
// const pictureshowList = (params) => wxRequest(params, apiMall + 'app/frontal/advertising/pictureshow/list')
// 商品详情弹出优惠券
const getAllTickeByGoodsId = (params) => wxRequest(params, apiMall + 'app/ticket/ticket/getAllTickeByGoodsId')
// const getAllTickeByGoodsId = (params) => wxRequest(params,apiMall +'app/member/ticket/ticket/getAllTickeByGoodsId')
// 活动规则
const searchByType = (params) => wxRequest(params, apiMall + 'app/activityrules/xcxSearchByType')
// 福利预售
const goodsWillSell = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/willSell')
// 福利预售新接口
const goodspresellList = (params) => wxRequest(params, apiMall + 'app/activity/presell/goodspresell/list')
// 福利预售广告图
const presellTop = (params) => wxRequest(params, apiMall + 'app/activity/presell/goodspresell/presellTop')
// 限时购时间列表
const timeList = (params) => wxRequest(params, apiMall + 'app/activity/goods/timeList')
// 限时购列表
const goodsActivity = (params) => wxRequest(params, apiMall + 'app/activity/goods/list')
// 限时购提醒我
const remind = (params) => wxRequest(params, apiMall + 'app/activity/goods/remind')
// 仓库列表
// const getAllRepoList = (params) => wxRequest(params,apiMall +'app/repo/getAllRepoList')
const getAllRepoList = (params) => wxRequest(params, apiMall + 'app/repository/repo/getAllRepoList')
// 个人余额支付方式列表
const userpaytype = (params) => wxRequest(params, apiMall + 'app/userpaytype/list')
// 设置支付密码
const savePaymentCode = (params) => wxRequest(params, apiMall + 'app/member/member/member/savePaymentCode')
// 修改支付密码
const updatePaymentCode = (params) => wxRequest(params, apiMall + 'app/member/member/member/updatePaymentCode')
// 忘记支付密码
const resetPaymentCode = (params) => wxRequest(params, apiMall + 'app/member/member/member/resetPaymentCode')
// 默认银行卡
const defaultBank = (params) => wxRequest(params, apiMall + 'app/finance/money/bankcard/appDefaultBank')
// 验证支付密码
const checkoutPaymentCode = (params) => wxRequest(params, apiMall + 'app/member/member/member/checkoutPaymentCode')
// 报关失败原因
const bgOrderRemark = (params) => wxRequest(params, apiMall + 'app/order/order/order/bgOrderRemark')

// 拼团保存虚拟开团
const groupuserSave = (params) => wxRequest(params, apiMall + 'app/activity/group/groupuser/save')
// 国家号与列表
// const checkoutphoneList = (params) => wxRequest(params,apiMall +'app/member/login/checkoutphone/list')
const checkoutphoneList = (params) => wxRequest(params, apiMall + 'app/member/login/checkoutphone/listNew')
// 自动识别地址
const automaticIdentification = (params) => wxRequest(params, apiMall + 'app/member/address/address/automaticIdentification')
// 商品标签列表
const labelList = (params) => wxRequest(params, apiMall + 'app/goods/label/list')
// 仓库说明
// const getRepoInfoById = (params) => wxRequest(params,apiMall +'app/repo/getRepoInfoById')
const getRepoInfoById = (params) => wxRequest(params, apiMall + 'app/repository/repo/getRepoInfoById')
// 商品规格
// const goodsattributevalue = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goodsattributevalue/info')
const goodsattributevalue = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/click')
// 商品详情品牌列表
const listForGoods = (params) => wxRequest(params, apiMall + 'app/goods/brand/brand/goodsbrand')
// const listForGoods = (params) => wxRequest(params, apiMall + 'app/goods/brand/brand/listForGoods/')
// 抢红包
const getmoney = (params) => wxRequest(params, apiMall + 'app/activity/redpacket/getmoney')
// // //获取红包
// const getredpacket = (params) => wxRequest(params,apiMall +'app/activity/redpacket/getredpacket')
// 获取新红包
const getredpacket = (params) => wxRequest(params, apiMall + 'app/activity/redpacket/getredpacketByUserId')
// 新品牌首页
const getBrandCategories = (params) => wxRequest(params, apiMall + 'app/goods/brand/brand/getBrandCategories')
// 商品精选评论
const getGoodsSelectComments = (params) => wxRequest(params, apiMall + 'app/goods/comment/getGoodsSelectComments')
// 商品评论
// const getGoodsComments = (params) => wxRequest(params, apiMall + 'app/goods/comment/getGoodsComments')
const getGoodsComments = (params) => wxRequest(params, apiMall + 'app/goods/comment/newGetGoodsComments')
// 我的评论
const getMyComments = (params) => wxRequest(params, apiMall + 'app/goods/comment/getMyComments')
// 发表评论
const releaseGoodsComment = (params) => wxRequest(params, apiMall + 'app/goods/comment/releaseGoodsComment')
// 创建分享口令
const shareWordCreate = (params) => wxRequest(params, apiMall + 'app/member/shareWord/create')
// 解析分享口令
const getWordDetail = (params) => wxRequest(params, apiMall + 'app/member/shareWord/getWordDetail')
// x修改快递物流
const updateDelivery = (params) => wxRequest(params, apiMall + 'app/order/order/order/updateDelivery')
// 撤销提现申请
const revoke = (params) => wxRequest(params, apiMall + 'app/finance/money/withdraw/appRevoke')
// 通过优惠券id查询购物车
const getBuyCarByTickerId = (params) => wxRequest(params, apiMall + 'app/ticket/ticket/getBuyCarByTickerId')
// 赠送优惠券提示信息
// const presentTitle = (params) => wxRequest(params, apiMall + 'app/ticket/extra/presentTitle')
// 赠送优惠券
const present = (params) => wxRequest(params, apiMall + 'app/ticket/extra/present')
// 支付请求新
const request = (params) => wxRequest(params, apiMall + 'app/payments/request')
// 去使用优惠券提示
const isCanUseTitle = (params) => wxRequest(params, apiMall + 'app/ticket/extra/isCanUseTitle')
// 个人中心 客服
const customer = (params) => wxRequest(params, apiMall + 'app/member/center/customer')
// 个人中心 设置 我的上级
const setting = (params) => wxRequest(params, apiMall + 'app/member/center/setting')
// 交易快照列表
const snapshotList = (params) => wxRequest(params, apiMall + 'app/goods/snapshot/list')
// 交易快照详情
const snapshotInfo = (params) => wxRequest(params, apiMall + 'app/goods/snapshot/info')
// 积分列表
const pointactivity = (params) => wxRequest(params, apiMall + 'app/pointactivity/list')
// 领劵中心提醒我
const ticketRemind = (params) => wxRequest(params, apiMall + 'app/ticket/ticket/remind')
// 解析分享码内容,通过Id当H5分享时
const getWordDetailForId = (params) => wxRequest(params, apiMall + 'app/member/shareWord/getWordDetailForId')
// 添加编辑银行卡
const appSave = (params) => wxRequest(params, apiMall + 'app/finance/money/bankcard/appSave')
// 计算手续费
const appServiceCharge = (params) => wxRequest(params, apiMall + 'app/finance/money/withdraw/appServiceCharge')
// 提现详情
// const appWithdrawDetail = (params) => wxRequest(params,apiMall +'app/finance/money/withdraw/appWithdrawDetail')
const appWithdrawDetail = (params) => wxRequest(params, apiMall + 'app/finance/money/withdraw/appWithdrawDetailNew')
// 银行卡详情
const appBankCardDetail = (params) => wxRequest(params, apiMall + 'app/finance/money/bankcard/appBankCardDetail')
// 建议反馈
const addMessage = (params) => wxRequest(params, apiMall + 'app/member/feedback/addMessage')
// 地址搜索
const AustraliaList = (params) => wxRequest(params, apiMall + 'app/member/address/areas/AustraliaList')
// 微信优惠券分享
const saveTicketPicture = (params) => wxRequest(params, apiMall + 'app/ticket/extra/saveTicketPicture')
// 微信优惠券领取
const showDrawTicket = (params) => wxRequest(params, apiMall + 'app/ticket/extra/showDrawTicket')
// 二维码分享展示优惠券领取
const shareTicketBySystem = (params) => wxRequest(params, apiMall + 'app/ticket/ticket/shareTicketBySystem')
// 微信优惠券领取
const drawInWx = (params) => wxRequest(params, apiMall + 'app/ticket/extra/drawInWx')
// 验证绑定手机号验证码
const checkBindingMobileSms = (params) => wxRequest(params, apiMall + 'app/member/user/user/newCheckBindingMobileSms')
// 合并账户
// const mergeAccount = (params) => wxRequest(params,apiMall +'app/member/user/user/mergeAccount')
const mergeAccount = (params) => wxRequest(params, apiMall + 'app/member/user/user/newMergeAccount')
// 新绑定手机号
const newBindingMobile = (params) => wxRequest(params, apiMall + 'app/member/user/user/newBindingMobile')
// 展示促销弹窗
const showPro = (params) => wxRequest(params, apiMall + 'app/buyCar/showPro')
// 更换促销
const changePro = (params) => wxRequest(params, apiMall + 'app/buyCar/changePro')
// 获取正在进行的促销活动
const getPromotionActivityList = (params) => wxRequest(params, apiMall + 'app/activity/promotionactivity/getPromotionActivityList')

// c财务管理
const centerFinance = (params) => wxRequest(params, apiMall + 'app/member/center/finance')
// 收集H5访问数据
const collectData = (params) => wxRequest(params, apiSj + 'app/visit/h5/collectData')
// 小程序直播详情
const liveDetails = (params) => wxRequest(params, apiMallOne + 'app/live/liveDetails')
// 小程序直播删除
const deleteLive = (params) => wxRequest(params, apiMallOne + 'app/live/wx/deleteLive')
// 小程序直播回放
const playback = (params) => wxRequest(params, apiMallOne + 'app/live/playback')
// 验证是否注册乐悦小镇
const checkLsxz = (params) => wxRequest(params, apiMall + 'app/checkLsxz')
// 银行卡列表验证是否注册乐悦小镇
const getLsxzUrl = (params) => wxRequest(params, apiMall + 'app/getLsxzUrl')
// 确认订单 返优惠券
const OrderPromotionTicketVO = (params) => wxRequest(params, apiMall + 'app/order/order/order/OrderPromotionTicketVO')
// 确认订单 展示赠品接口
// const queryPromotionGift = (params) => wxRequest(params, apiMall + 'app/order/order/order/queryPromotionGift')
const queryPromotionAndTicketGift = (params) => wxRequest(params, apiMall + 'app/order/order/order/queryPromotionAndTicketGift')
// 确认订单 更换赠品接口
const changePromotionAndTicketGift = (params) => wxRequest(params, apiMall + 'app/order/order/order/changePromotionAndTicketGift')
// 取消更换赠品接口
const orderRecoveryGifts = (params) => wxRequest(params, apiMall + 'app/order/order/order/orderRecoveryGifts')
// 资金账户
const capitalAccount = (params) => wxRequest(params, apiMall + 'app/finance/money/bankcard/capitalAccount')
// 促销活动选中活动数据储存
const promotionSelectDataStorage = (params) => wxRequest(params, apiMall + 'app/activity/promotionactivity/promotionSelectDataStorage')
// 用户微信分享优惠券撤回
const recycleShareTicket = (params) => wxRequest(params, apiMall + 'app/ticket/extra/recycleShareTicket')
// 用户微信分享优惠券领取详情
const showDrawTicketDetails = (params) => wxRequest(params, apiMall + 'app/ticket/extra/showDrawTicketDetails')
// 验证是否注册乐悦小镇
// const checkLsxzNew = (params) => wxRequest(params,apiMall +'app/checkLsxzNew')
const checkLsxzNew = (params) => wxRequest(params, apiMall + 'app/checkLsxzFour')
// 首页标签下所属商品列表
const labelListIndex = (params) => wxRequest(params, apiMall + 'app/goods/label/list')
// 海外国家列表
const appOverseas = (params) => wxRequest(params, apiMall + 'app/member/address/areas/appOverseas')
// 会员特惠
const getGoodslist = (params) => wxRequest(params, apiMall + 'app/goods/productlimit/getGoodslist')
// 跳转类型
const pushType = (params) => wxRequest(params, apiMall + 'app/goods/productlimit/pushType')
// 全部已读
const allRead = (params) => wxRequest(params, apiMall + 'app/frontal/notice/message/allRead')
// 删除消息
const delMessage = (params) => wxRequest(params, apiMall + 'app/frontal/notice/message/delMessage')
// 获取任务url
const levelUrl = (params) => wxRequest(params, apiMallOne + 'app/grass/level/url')
// 时区列表
const queryZoneModel = (params) => wxRequest(params, apiMall + 'app/member/address/address/queryZoneModel')
// 开始退款退货
const redisGoods = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/redisGoods')
// 售后选择商品
const chooseGoods = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/chooseGoods')
// 售后填写信息前获取数据
const getMsg = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/getMsg')
// 售后提交退款/退货申请
const commitRefund = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/commitRefund')
// 退款退货列表
const aurefundmentdoc_list = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/list')
// 退款退货详情
const viewReturn = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/viewReturn')
// 取消退款退货
const cancel = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/cancel')
// 删除售后单
const deleteSale = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/delete')
// 提交换货申请
const submitChange = (params) => wxRequest(params, apiMall + 'app/order/appExchangeGoodsDoc/commitExchangeGoods')
// 换货填写信息前获取数据
const changeGetmsg = (params) => wxRequest(params, apiMall + 'app/order/appExchangeGoodsDoc/getMsg')
// 确认收货
const confirmGood = (params) => wxRequest(params, apiMall + 'app/order/appExchangeGoodsDoc/shouHuo')
// 换货列表
const changeList = (params) => wxRequest(params, apiMall + 'app/order/appExchangeGoodsDoc/list')
// 换货详情
const changeDetails = (params) => wxRequest(params, apiMall + 'app/order/appExchangeGoodsDoc/viewExchange')
// 填写物流单号
const saveLogistics = (params) => wxRequest(params, apiMall + 'app/order/order/refundlogistics/saveLogistics')
// 编辑物流单号
const refundlogistics = (params) => wxRequest(params, apiMall + 'app/order/order/refundlogistics/list')
// 查看物流包裹列表
const messsageListSh = (params) => wxRequest(params, apiMall + 'app/order/order/refundlogistics/packageList')
const messsageList = (params) => wxRequest(params, apiMall + 'app/order/logistics/deliverydoc/messsageList')
// 获取最新的物流轨迹
const messsageLastInfo = (params) => wxRequest(params, apiMall + 'app/order/logistics/deliverydoc/messsageLastInfo')

// 获取物流信息
const messsageInfoSh = (params) => wxRequest(params, apiMall + 'app/order/order/refundlogistics/logisticsMsg')
const messsageInfo = (params) => wxRequest(params, apiMall + 'app/order/logistics/deliverydoc/messsageInfo')
// 根据主键id和规则和获取促销活动阶梯规则列表
const getPromotionGiveListByRule = (params) => wxRequest(params, apiMall + 'app/activity/promotionactivity/getPromotionGiveListByRule')
// 购物车全部删除已失效商品
const deleteMany = (params) => wxRequest(params, apiMall + 'app/buyCar/deleteMany')
// 售后原因列表
const saleReason = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/saleReason')
// 查询商品浏览记录
const viewLog = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/viewLog')
// 清空商品浏览记录
const clearViewLog = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/clearViewLog')
// 上传/编辑收件人身份证信息
const saveAndUpdateReceiver = (params) => wxRequest(params, apiMall + 'app/order/order/order/saveAndUpdateReceiver')
// 获取品牌下顶部横排商品列表
const getBrandGoodsTop = (params) => wxRequest(params, apiMall + 'app/goods/brand/brand/getBrandGoodsTop')

// 获取直播wx授权token
const accessToken = (params) => wxRequest(params, apiMallOne + 'app/live/wx/token')
// 获取直播wx直播间列表
const accessList = (params) => wxRequest(params, apiMallOne + 'app/live/wx/list')
// 获取我要开播列表
const accessUserList = (params) => wxRequest(params, apiMallOne + 'app/live/wx/userLiveList')
// 设置角色
const addRole = (params) => wxRequest(params, apiMallOne + 'app/live/wx/addRole')
// 创建直播
const liveCreate = (params) => wxRequest(params, apiMallOne + 'app/live/create')
// // 直播列表accessToken
// const accessToken = (params) => wxRequest(params,'https://api.weixin.qq.com/wxa/business/getliveinfo')
// 个人中心物流信息
const personlogistics = (params) => wxRequest(params, apiMall + 'app/order/logistics/deliverydoc/personlogistics')
// 个人中心物流信息弹窗
const logisticslist = (params) => wxRequest(params, apiMall + 'app/order/logistics/deliverydoc/logisticslist')
// 商品搜索推荐
const searchRecommend = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/goods/searchRecommend')

// 获取换购列表接口
// const getGoodsCarRedemptList = (params) => wxRequest(params, apiMall + 'app/buyCar/getGoodsCarRedemptList')
const getGoodsCarRedemptList = (params) => wxRequest(params, apiMall + 'app/buyCar/getGoodsCarRedemptNewList')
// 选择商品
const checkRedempt = (params) => wxRequest(params, apiMall + 'app/buyCar/checkRedempt')
// 提交换购
const sumitRedemptList = (params) => wxRequest(params, apiMall + 'app/buyCar/sumitRedemptList')
// 购物车添加换购商品
const addRedempt = (params) => wxRequest(params, apiMall + 'app/buyCar/addRedempt')
// 滑动删除换购
const deleteRedempt = (params) => wxRequest(params, apiMall + 'app/buyCar/deleteRedempt')
// 获取申请售后换购商品列表
const getSaleSwapList = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/getAppRefundGoodsListByRturnNo')
// 提交申请售后换购商品
const commitSaleSwap = (params) => wxRequest(params, apiMall + 'app/order/order/refundmentdoc/commitAppRefundPRedemptGoodsListByRturnNo')

// 商品获取仓库列表
const getCarRepoList = (params) => wxRequest(params, apiMall + 'app/buyCar/getCarRepoList')
// 商品更新服务仓库列表
const updateRepoList = (params) => wxRequest(params, apiMall + 'app/shop/cart/buycar/updateRepoList')
// 商品更新订单仓库列表
const orderUpdateRepoList = (params) => wxRequest(params, apiMall + 'app/order/order/order/updateRepoList')
// 获取核对订单信息
const getCheckOrderMessage = (params) => wxRequest(params, apiMall + 'app/order/order/order/getCheckOrderMessage')
// 确认地址
const confirmAddress = (params) => wxRequest(params, apiMall + 'app/order/order/order/confirmAddress')
// 修改订单收件
const updateOrderReceiver = (params) => wxRequest(params, apiMall + 'app/order/order/order/updateOrderReceiver')
// 首页分类
const itemizeList = (params) => wxRequest(params, apiMall + 'app/goods/productitemize/itemize/list')
// 获取分类下商品列表
const itemizeGoodlist = (params) => wxRequest(params, apiMall + 'app/goods/productitemize/itemize/goodlist')
// 搭配购
const matchList = (params) => wxRequest(params, apiMall + 'app/activity/match/list')
// 判断是否绑定手机号
const getUserMobile = (params) => wxRequest(params, apiMall + 'app/member/user/user/getUserMobile')
// 红包弹框接口
const useableRedPacket = (params) => wxRequest(params, apiMall + 'app/order/order/order/useableRedPacket')
// 选择取消红包接口
const selectRedPacket = (params) => wxRequest(params, apiMall + 'app/order/order/order/selectRedPacket')
// 弹框提示  再次购买
const buyAgain = (params) => wxRequest(params, apiMall + 'app/order/order/order/buyAgain')
// 确认购买  再次购买
const submitAgain = (params) => wxRequest(params, apiMall + 'app/order/order/order/submitAgain')
// 查看不包邮地区
const getAddressByPlatformActivityId = (params) => wxRequest(params, apiMall + 'app/platform/activity/getAddressByPlatformActivityId')
// 确认使用升级券
const upGradeByTicketExtraId = (params) => wxRequest(params, apiMall + 'app/ticket/extra/upGradeByTicketExtraId')

// 获取列表
const getBuyCar = (params) => wxRequest(params, apiMall + 'app/shopping/voucher/getBuyCar')
// 选择购物券
const checkShoppingVoucher = (params) => wxRequest(params, apiMall + 'app/shopping/voucher/checkShoppingVoucher')
// 全选购物券
const selectAll = (params) => wxRequest(params, apiMall + 'app/shopping/voucher/selectAll')
// 创建订单
const createShoppingOrder = (params) => wxRequest(params, apiMall + 'app/shopping/order/createShoppingOrder')
// 购物券订单列表  购买记录
const shoppingOrderList = (params) => wxRequest(params, apiMall + 'app/shopping/order/shoppingOrderList')
// 删除购物券订单
const ticketDelete = (params) => wxRequest(params, apiMall + 'app/shopping/order/del')
// 售后购物券订单
const returnOrder = (params) => wxRequest(params, apiMall + 'app/shopping/order/returnOrder')
// 确认收货  购物券
const confirmOrderEvent = (params) => wxRequest(params, apiMall + 'app/shopping/order/confirmOrderEvent')
// 查看物流  购物券
const checkDelivery = (params) => wxRequest(params, apiMall + 'app/shopping/order/checkDelivery')
// 兑换实体券
const exchangeEntityVoucher = (params) => wxRequest(params, apiMall + 'app/shopping/entity/voucher/exchangeEntityVoucher')

// 获取购物券列表
const voucherTicketList = (params) => wxRequest(params, apiMall + 'app/shopping/voucher/account/list')
// 购物券赠送提示信息
const presentShoppingAccountTitle = (params) => wxRequest(params, apiMall + 'app/shopping/voucher/account/presentShoppingAccountTitle')
// 购物券直接赠送
const presentShoppingAccount = (params) => wxRequest(params, apiMall + 'app/shopping/voucher/account/presentShoppingAccount')
// 通过邀请码查询用户信息
const getUserInformationByCode = (params) => wxRequest(params, apiMall + 'app/member/user/user/getUserInformationByCode')
// 微信优惠券分享
const saveShoppingAccountPicture = (params) => wxRequest(params, apiMall + 'app/shopping/voucher/account/saveShoppingAccountPicture')
// 用户微信分享购物券撤回
const recycleShareShoppingAccount = (params) => wxRequest(params, apiMall + 'app/shopping/voucher/account/recycleShareShoppingAccount')
// 用户微信分享优惠券领取详情
const showDrawShoppingAccountDetails = (params) => wxRequest(params, apiMall + '/app/shopping/voucher/account/showDrawShoppingAccountDetails')
// 领取购物券页面展示
const showWXDrawShoppingAccount = (params) => wxRequest(params, apiMall + '/app/shopping/voucher/account/showWXDrawShoppingAccount')
// 微信端领取优惠券
const gouDrawInWx = (params) => wxRequest(params, apiMall + '/app/ticket/extra/drawInWx')
// 确认订单，可选择购物卡
const useableShopCardList = (params) => wxRequest(params, apiMall + 'app/order/order/order/useableShopCardList')
// 可用购物券商品列表
const useableShopCardGoodsList = (params) => wxRequest(params, apiMall + 'app/order/order/order/useableShopCardGoodsList')
// 选中购物卡
const selectedShopCard = (params) => wxRequest(params, apiMall + 'app/order/order/order/selectedShopCard')
// 获取定位地址
const getAddressByIp = (params) => wxRequest(params, apiMall + 'app/member/address/address/getAddressByIp')
// 中国所有市列表
const chinaCityList = (params) => wxRequest(params, apiMall + 'app/auareas/chinaCityList')
// 主动选择定位
const chooseCity = (params) => wxRequest(params, apiMall + 'app/member/address/address/chooseCity')
// 搭配购提醒我
const matchRemind = (params) => wxRequest(params, apiMall + 'app/activity/match/remind')
// 产品参数
const listByGoodsId = (params) => wxRequest(params, apiMall + 'app/repository/commodity/listByGoodsId')
// 移动积分查询
const queryMobilePointNew = (params) => wxRequest(params, apiMall + 'app/member/point/point/queryMobilePointNew')
// 获取赠品列表接口
const getGoodsCarGiftList = (params) => wxRequest(params, apiMall + 'app/buyCar/getGoodsCarGiftList')
// 赠品选中及数量改变
const giftSelection = (params) => wxRequest(params, apiMall + 'app/buyCar/giftSelection')
// 提交赠品
const submitGiveawayList = (params) => wxRequest(params, apiMall + 'app/buyCar/submitGiveawayList')
// 获取指定位置广告
const getpic = (params) => wxRequest(params, apiMall + 'app/frontal/index/homepage/getpic')
// 定金订单支付尾款
const finalPayment = (params) => wxRequest(params, apiMall + 'app/order/order/order/finalPayment')
// 手动搜索跳转
const searchRank = (params) => wxRequest(params, apiMall + 'app/goods/searchRank/info')
// 个性化推荐  查询
const queryPersonalization = (params) => wxRequest(params, apiMall + 'app/member/user/user/queryPersonalization')
// 个性化推荐 更改个性化
const updatePersonalization = (params) => wxRequest(params, apiMall + 'app/member/user/user/updatePersonalization')
// 搜索词推荐
const searchRankKeyword = (params) => wxRequest(params, apiMall + 'app/goods/searchRank/keyword')
// 种草tab标签
const grassTags = (params) => wxRequest(params, apiMallOne + 'app/discovery/tags');
// 种草列表
// const grassList = (params) => wxRequest(params, apiMallOne + 'app/grass/list?page=1&type=1');
// const grassList = (params) => wxRequest(params, apiMallOne + 'app/grass/list');
const grassList = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/grass/list');
// 获取种草打卡任务列表
const appListMark = (params) => wxRequest(params, apiMallOne + 'app/grass/mark/appList')
// 验证打卡任务限制
const checkLimit = (params) => wxRequest(params, apiMallOne + 'app/grass/mark/checkLimit')
// 话题头部获取列表
const topicHeadList = (params) => wxRequest(params, apiMallOne + 'app/topic/classify/list')
// 话题列表
const topicList = (params) => wxRequest(params, apiMallOne + 'app/grass/topic/list')
// 获取关卡列表
const taskList = (params) => wxRequest(params, apiMallOne + 'app/grass/level/list')
// 获取指定关卡信息
const taskLevel = (params) => wxRequest(params, apiMallOne + 'app/grass/level')
// 领取任务
const taskGetTask = (params) => wxRequest(params, apiMallOne + 'app/grass/level/getTask')
// 参加浏览任务
const browseTask = (params) => wxRequest(params, apiMallOne + 'app/grass/browse/browse')
// 完成拉新任务
const finishTask = (params) => wxRequest(params, apiMallOne + 'app/grass/pullnew/finish')

// 笔记详情页
// const grassList_page = (params) => wxRequest(params, apiMallOne + 'app/grass/info');
const grassList_page = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/grass/info');
// 点赞
// const like_save = (params) => wxRequest(params, apiMallOne + 'app/member/user/like/save')
const like_save = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/like/save')
// 关注
const concern_issave = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/concern/issave')
// 笔记相关推荐
const grassRecommend = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/grass/recommend')
// 分享笔记
const grass_share = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/grass/share')
// 种草笔记置顶或取消置顶
const grassSetTop = (params) => wxRequest(params, apiMallOne + 'app/grass/grass/grass/setTop')
// 评论-添加评论
const grassaddComment = (params) => wxRequest(params, apiMallOne + 'app/grass/comment/add')
// 评论-笔记评论列表
const grassComment = (params) => wxRequest(params, apiMallOne + 'app/grass/comment/list')
// 评论点赞
const grassCommentGiveLike = (params) => wxRequest(params, apiMallOne + 'app/grass/comment/giveLike')
// 赠送优惠券【6.3电商及以后用】
const presentNew = (params) => wxRequest(params, apiMall + 'app/ticket/extra/presentNew')
// 优惠券赠送提示信息【6.3电商及以后用】
const presentTitleNew = (params) => wxRequest(params, apiMall + 'app/ticket/extra/presentTitleNew')
// 首页搜索词轮播
const carousel = (params) => wxRequest(params, apiMall + 'app/goods/searchRank/carousel')
// 商品券去使用
const useForGoodsTicket = (params) => wxRequest(params, apiMall + 'app/ticket/extra/useForGoodsTicket')
// 商品券更新选中商品
const checkOrUpNumForGoodsTicket = (params) => wxRequest(params, apiMall + 'app/ticket/extra/checkOrUpNumForGoodsTicket')
// 更换规格 确定
const changeAttribute = (params) => wxRequest(params, apiMall + 'app/shop/cart/buycar/changeAttribute')
// 分页查询用户的猫币明细
const coinList = (params) => wxRequest(params, apiMall + 'app/coin/detail/list')
// 获取用户的猫币基本信息
const coinInfo = (params) => wxRequest(params, apiMall + 'app/coin/info')
// 获取猫币可用数据
const getCatCoinsInfo = (params) => wxRequest(params, apiMall + 'app/order/order/order/getCatCoinsInfo')
// 猫币选择修改
const catCoinsUpdate = (params) => wxRequest(params, apiMall + 'app/order/order/order/catCoinsUpdate')
// 获取店铺信息
const getShopMessage = (params) => wxRequest(params, apiMall + 'app/user/shop/getShopMessage')
// 获取店铺可修改信息
const storeInfo = (params) => wxRequest(params, apiMall + 'app/user/shop/info')
// 修改店铺信息
const storeUpdate = (params) => wxRequest(params, apiMall + 'app/user/shop/update')
// 标签发现
const discoveryTags = (params) => wxRequest(params, apiMallOne + 'app/discovery/v2/tags')
// 获取用户标签
const discoveryTagsTwo = (params) => wxRequest(params, apiMallOne + 'app/grass/label/user/list')
// 获取标签列表
const discoveryTagsPop = (params) => wxRequest(params, apiMallOne + 'app/grass/label/list')
// 更新用户标签
const discoveryUpdate = (params) => wxRequest(params, apiMallOne + 'app/grass/label/user/update')
// 直播 发现
const discoveryLive = (params) => wxRequest(params, apiMallOne + 'app/live/tab/info')
// 查看更多回放
const moreHighLights = (params) => wxRequest(params, apiMallOne + 'app/live/tab/moreHighLights')
// 贴图
const getStickersImages = (params) => wxRequest(params, apiMall + 'app/goods/goodsDetail/share/getStickersImages')
// 商品详情种草图片
const spuGrassImg = (params) => wxRequest(params, apiMallOne + 'app/grass/spuGrassImg')
// 买家秀列表
const spuGrassInfo = (params) => wxRequest(params, apiMallOne + 'app/grass/spuGrassInfo')

export default {
  payer_add,
  payer_delete,
  payer_list,
  httpImg,
  httpImgTile,
  h5apiMall,
  // apiZB,
  H5url,
  wxJsCode,
  getWeChatMessage,
  indexPicList,
  brandList,
  grassList,
  grassList_page,
  commodity_page,
  commodity_again,
  commodity_list,
  buycar_list,
  buycar_list_xck,
  create_order,
  // confirm_order,
  submit_order,
  create_save,
  address_list,
  address_save,
  address_region,
  address_delete,
  address_state,
  updateGoodsDetailAddress,
	// wxSmall,
  finance_list,
  buycar_checkOrUpNum,
  buycar_checkAll,
  buycar_delete,
  brandList_page,
  brandList_goodlist,
	// create_addOrderToRedis,
  goodsDetail_list,
  picShowList,
  add_bankcard,
  goods_words,
  canTicketList,
  canTicketDrawt,
  useableList,
  selectedClick,
  person_data,
  person_index,
  point_list,
  like_save,
  concern_issave,
  card_list,
  grass_own,
  grass_message,
  share_save,
  aufavorite_save,
  aufavorite_delete,
  withdraw_save,
  withdraw_list,
  myTeam,
  favorite_list,
  viewLogDistinct,
  broughtBeforeGoodsInfo,
  preserve,
  material_list,
  material_list_deletes,
  money_list,
  updateCode,
  userCouponList,
  mobileLogin,
  order_list,
  order_details,
  order_delete,
  // applyForReturn,
  change_information,
  // saveReturn,
  // delivery_message,
  aurefundmentdoc_list,
  viewReturn,
  cancel,
  uploadIDCard,
  vipClassId,
  // recordSmall,
  grass_share,
  invite_pic,
  friend,
  balancePay,
  updateCodeForUserId,
  send_sms,
  mobile_change,
  change_pwd,
  setMoney,
  bindingMobile,
  getgoodsreplacs,
  getgoodsreplacsfigure,
  messageCenterList,
  messageListbyuser,
  creatGoodsReplaceOrder,
  balanceRecharge,
  createRechargeRecordNo,
  authorization,
  invite,
  recordList,
  apiMall,
  apiMallOne,
  bankcardDelete,
  changeRead,
  uploadWeChatCode,
  getWeChatCode,
  updateCodeNew,
  payList,
  move,
  deleteOne,
  categoryIndex,
  categoryList,
  goodsCate,
  arrivalNotice,
  contentjson,
  grassRecommend,
  juHuaSuantimeList,
  groupuserList,
  groupuserGroups,
  groupgoodsList,
  groupuserInfo,
  ticketList,
  // pictureshowList,
  getAllTickeByGoodsId,
  searchByType,
  goodsWillSell,
  goodsActivity,
  getAllRepoList,
  userpaytype,
  savePaymentCode,
  updatePaymentCode,
  resetPaymentCode,
  defaultBank,
  checkoutPaymentCode,
  bgOrderRemark,
  messsageList,
  messsageInfo,
  groupuserSave,
  checkoutphoneList,
  automaticIdentification,
  labelList,
  getRepoInfoById,
  goodsattributevalue,
  payListNew,
  listForGoods,
  payNew,
  getmoney,
  getredpacket,
  getBrandCategories,
  timeList,
  remind,
  adForlist,
  getGoodsComments,
  getMyComments,
  getGoodsSelectComments,
  presellTop,
  goodspresellList,
  releaseGoodsComment,
  shareWordCreate,
  getWordDetail,
  getOrderNewMsg,
  updateDelivery,
  revoke,
  getBuyCarByTickerId,
  present,
  // presentTitle,
  request,
  isCanUseTitle,
  customer,
  setting,
  snapshotList,
  snapshotInfo,
  pointactivity,
  ticketRemind,
  getWordDetailForId,
  appSave,
  appServiceCharge,
  appWithdrawDetail,
  appBankCardDetail,
  addMessage,
  AustraliaList,
  saveTicketPicture,
  showDrawTicket,
  shareTicketBySystem,
  drawInWx,
  checkBindingMobileSms,
  mergeAccount,
  newBindingMobile,
  showPro,
  changePro,
  getPromotionActivityList,
  redisGoods,
  chooseGoods,
  getMsg,
  commitRefund,
  saveLogistics,
  refundlogistics,
  messsageListSh,
  messsageInfoSh,
  centerFinance,
  collectData,
  liveDetails,
  deleteLive,
  playback,
  checkLsxz,
  getLsxzUrl,
  OrderPromotionTicketVO,
  // queryPromotionGift,
  capitalAccount,
  promotionSelectDataStorage,
  recycleShareTicket,
  showDrawTicketDetails,
  checkLsxzNew,
  labelListIndex,
  appOverseas,
  getGoodslist,
  pushType,
  homeList,
  allRead,
  delMessage,
  levelUrl,
  dataPoint,
  queryZoneModel,
  getNotice,
  submitChange,
  changeList,
  confirmGood,
  changeDetails,
  changeGetmsg,
  deleteSale,
  saveCustomData,
  getPromotionGiveListByRule,
  deleteMany,
  couponSearchTicketGift,
  couponGetPromotionGiveList,
  queryPromotionAndTicketGift,
  changePromotionAndTicketGift,
  saleReason,
  viewLog,
  clearViewLog,
  orderRecoveryGifts,
  saveAndUpdateReceiver,
  getBrandGoodsTop,
  accessToken,
  accessList,
  accessUserList,
  addRole,
  liveCreate,
  personlogistics,
  logisticslist,
  searchRecommend,
  getGoodsCarRedemptList,
  checkRedempt,
  sumitRedemptList,
  addRedempt,
  deleteRedempt,
  getSaleSwapList,
  commitSaleSwap,
  getCarRepoList,
  updateRepoList,
  orderUpdateRepoList,
  getCheckOrderMessage,
  confirmAddress,
  updateOrderReceiver,
  messsageLastInfo,
  itemizeList,
  itemizeGoodlist,
  matchList,
  getUserMobile,
  useableRedPacket,
  selectRedPacket,
  buyAgain,
  submitAgain,
  updateUserMessageByWeChat,
  getAddressByPlatformActivityId,
  upGradeByTicketExtraId,
  getBuyCar,
  checkShoppingVoucher,
  selectAll,
  createShoppingOrder,
  shoppingOrderList,
  ticketDelete,
  returnOrder,
  voucherTicketList,
  presentShoppingAccountTitle,
  presentShoppingAccount,
  getUserInformationByCode,
  saveShoppingAccountPicture,
  recycleShareShoppingAccount,
  showDrawShoppingAccountDetails,
  showWXDrawShoppingAccount,
  gouDrawInWx,
  useableShopCardList,
  selectedShopCard,
  getAddressByIp,
  chinaCityList,
  chooseCity,
  matchRemind,
  getGoodsCarGiftList,
  giftSelection,
  submitGiveawayList,
  getpic,
  finalPayment,
  searchRank,
  confirmOrderEvent,
  checkDelivery,
  exchangeEntityVoucher,
  queryPersonalization,
  updatePersonalization,
  searchRankKeyword,
  grassTags,
  appListMark,
  checkLimit,
  topicHeadList,
  topicList,
  taskLevel,
  taskList,
  taskGetTask,
  browseTask,
  finishTask,
  grassSetTop,
  grassaddComment,
  grassComment,
  grassCommentGiveLike,
  presentNew,
  presentTitleNew,
  carousel,
  useForGoodsTicket,
  checkOrUpNumForGoodsTicket,
  listByGoodsId,
  useableShopCardGoodsList,
  changeAttribute,
  coinList,
  coinInfo,
  getCatCoinsInfo,
  catCoinsUpdate,
  getShopMessage,
  storeInfo,
  storeUpdate,
  discoveryTags,
  discoveryTagsTwo,
  discoveryTagsPop,
  discoveryUpdate,
  discoveryLive,
  moreHighLights,
  getStickersImages,
  spuGrassImg,
  spuGrassInfo,
  queryMobilePointNew
}
